package com.slipper.system.codeless.bo;

import java.util.ArrayList;
import java.util.List;

import com.slipper.common.bo.CommonBO;

/**
 * 页面组件按钮表
 */
public class PageCompButtonBO extends CommonBO {
    public static final String TPL_TYPE_SCRIPT = "脚本";
    public static final String TPL_TYPE_CUSTOM = "自定义";

    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 组件ID */
    private String[] compIds;
    private String compId;
    private String name;
    private String type;
    /* 内置按钮ID */
    private String buttonId;
    /* 数据数量：无、单条、多条 */
    private String dataVolume;
    /* 显示位置：顶部、行内、底部 */
    private String showPosition;
    /* 图标ID */
    private String iconId;
    /* 窗口宽度 */
    private String dialogWidth;
    /* 全屏弹窗 */
    private String dialogFullscreen;
    /* 弹窗表单ID */
    private String dialogFormId;
    private String saveAndRun;
    /* 弹窗页面ID */
    private String dialogPageId;
    private String pageFieldJson;
    /* 提交校验 */
    private String submitValidate;
    /* 提交确认语 */
    private String submitPrompt;
    /* 执行脚本ID */
    private String executeScriptId;
    /* 显示执行结果 */
    private String showExecuteResult;
    private String endRefresh;
    private String showCloseButton;
    /* 字体颜色 */
    private String fontColor;
    /* 背景颜色 */
    private String backgroundColor;
    /* 边框颜色 */
    private String borderColor;
    private String tplType;
    private String tplFileId;
    private String tplName;
    private String modelId;
    private String fieldsJson;
    private String bindButton;
    /* 排序 */
    private Integer ordinal;
    /* 更新人ID */
    private String updateId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建人ID */
    private String createId;
    /* 创建时间 */
    private Long createTime;

    private List<PageCompButtonConditionBO> conditionList = new ArrayList<>();
    private List<PageCompButtonUpdateBO> updateList = new ArrayList<>();

    public void setId(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }
    
    public String[] getIds() {
        return ids;
    }

    public String[] getCompIds() {
        return compIds;
    }

    public void setCompIds(String[] compIds) {
        this.compIds = compIds;
    }

    public void setCompId(String compId) {
        this.compId = compId;
    }
    
    public String getCompId() {
        return compId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setButtonId(String buttonId) {
        this.buttonId = buttonId;
    }
    
    public String getButtonId() {
        return buttonId;
    }

    public void setDataVolume(String dataVolume) {
        this.dataVolume = dataVolume;
    }
    
    public String getDataVolume() {
        return dataVolume;
    }

    public void setShowPosition(String showPosition) {
        this.showPosition = showPosition;
    }
    
    public String getShowPosition() {
        return showPosition;
    }

    public void setIconId(String iconId) {
        this.iconId = iconId;
    }
    
    public String getIconId() {
        return iconId;
    }

    public String getDialogWidth() {
        return dialogWidth;
    }

    public void setDialogWidth(String dialogWidth) {
        this.dialogWidth = dialogWidth;
    }

    public void setDialogFullscreen(String dialogFullscreen) {
        this.dialogFullscreen = dialogFullscreen;
    }
    
    public String getDialogFullscreen() {
        return dialogFullscreen;
    }

    public void setDialogFormId(String dialogFormId) {
        this.dialogFormId = dialogFormId;
    }
    
    public String getDialogFormId() {
        return dialogFormId;
    }

    public String getSaveAndRun() {
        return saveAndRun;
    }

    public void setSaveAndRun(String saveAndRun) {
        this.saveAndRun = saveAndRun;
    }

    public void setDialogPageId(String dialogPageId) {
        this.dialogPageId = dialogPageId;
    }
    
    public String getDialogPageId() {
        return dialogPageId;
    }

    public String getPageFieldJson() {
        return pageFieldJson;
    }

    public void setPageFieldJson(String pageFieldJson) {
        this.pageFieldJson = pageFieldJson;
    }

    public void setSubmitValidate(String submitValidate) {
        this.submitValidate = submitValidate;
    }
    
    public String getSubmitValidate() {
        return submitValidate;
    }

    public void setSubmitPrompt(String submitPrompt) {
        this.submitPrompt = submitPrompt;
    }
    
    public String getSubmitPrompt() {
        return submitPrompt;
    }

    public void setExecuteScriptId(String executeScriptId) {
        this.executeScriptId = executeScriptId;
    }
    
    public String getExecuteScriptId() {
        return executeScriptId;
    }

    public void setShowExecuteResult(String showExecuteResult) {
        this.showExecuteResult = showExecuteResult;
    }
    
    public String getShowExecuteResult() {
        return showExecuteResult;
    }

    public String getEndRefresh() {
        return endRefresh;
    }

    public void setEndRefresh(String endRefresh) {
        this.endRefresh = endRefresh;
    }

    public String getShowCloseButton() {
        return showCloseButton;
    }

    public void setShowCloseButton(String showCloseButton) {
        this.showCloseButton = showCloseButton;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }
    
    public String getFontColor() {
        return fontColor;
    }

    public void setBackgroundColor(String backgroundColor) {
        this.backgroundColor = backgroundColor;
    }
    
    public String getBackgroundColor() {
        return backgroundColor;
    }

    public void setBorderColor(String borderColor) {
        this.borderColor = borderColor;
    }
    
    public String getBorderColor() {
        return borderColor;
    }

    public String getTplType() {
        return tplType;
    }

    public void setTplType(String tplType) {
        this.tplType = tplType;
    }

    public String getTplFileId() {
        return tplFileId;
    }

    public void setTplFileId(String tplFileId) {
        this.tplFileId = tplFileId;
    }

    public String getTplName() {
        return tplName;
    }

    public void setTplName(String tplName) {
        this.tplName = tplName;
    }

    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }

    public String getBindButton() {
        return bindButton;
    }

    public void setBindButton(String bindButton) {
        this.bindButton = bindButton;
    }

    public String getFieldsJson() {
        return fieldsJson;
    }

    public void setFieldsJson(String fieldsJson) {
        this.fieldsJson = fieldsJson;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }
    
    public Integer getOrdinal() {
        return ordinal;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }
    
    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
    
    public Long getUpdateTime() {
        return updateTime;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }
    
    public String getCreateId() {
        return createId;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
    
    public Long getCreateTime() {
        return createTime;
    }

    public List<PageCompButtonConditionBO> getConditionList() {
        return conditionList;
    }

    public void setConditionList(List<PageCompButtonConditionBO> conditionList) {
        this.conditionList = conditionList;
    }

    public List<PageCompButtonUpdateBO> getUpdateList() {
        return updateList;
    }

    public void setUpdateList(List<PageCompButtonUpdateBO> updateList) {
        this.updateList = updateList;
    }
}
